package br.project.cdd.vo;

import java.sql.SQLException;
import java.util.ArrayList;
import br.project.cdd.dao.TelasDAO;
import br.project.cdd.bean.TelasBean;

public class TelasVO {
	
	public ArrayList<TelasBean> getTodasTelas()	{
		ArrayList<TelasBean> listTelas = null;
		
		try{
			TelasDAO dao = new TelasDAO();
			listTelas = dao.buscarTodasTelas();
		}
		catch(SQLException sq){
			sq.printStackTrace();
		}
		catch(ClassNotFoundException cl){
			cl.printStackTrace();
		}
		
		return listTelas;
	}
}
